import request from "@/utils/request";
//财务查询
export function getFinancialQuery(data) {
  return request({
    url: "/admin/stat/finance/list",
    method: "post",
    data
  });
}
//门诊日志
export function getServiceLog(data) {
  return request({
    url: "/admin/stat/outpatient/list",
    method: "post",
    data
  });
}
//销售明细
export function getSalesDetail(data) {
  return request({
    url: "/admin/stat/sales/list",
    method: "post",
    data
  });
}

//销售明细
export function getDoctorWork(data) {
  return request({
    url: "/admin/stat/doctorWord/list",
    method: "post",
    data
  });
}
//统计详情
export function getFinance(id) {
  return request({
    url: `/admin/stat/finance/detail?id=${id}`,
    method: "get",
  });
}
//医生工作统计
export function getDoctorWord(data) {
  return request({
    url: `/admin/stat/doctorWord/list`,
    method: "post",
    data
  });
}
